Problem Note 46316: Long invalid macro variable name within %SYMEXIST truncates error message
Using the %SYMEXIST function with a long invalid macro variable name (less than the limit of 32 characters) causes the error message to be truncated. For example:
%put %symexist(a abcdefghijklmnopqrstuvwxyz);
The error received is:
ERROR: Symbolic variable name A ABCDEFGHIJKLMNOPQRSTUVWXYZ must contain only letters, digits,and un
The error should say:
ERROR: Symbolic variable name A ABCDEFGHIJKLMNOPQRSTUVWXYZ must contain only letters, digits, and underscores.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M0 | 9.4 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M0 | 9.4 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.4 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M0 | 9.4 TS1M0 |
HP-UX IPF | 9.1 TS1M0 | 9.4 TS1M0 |
Linux | 9.1 TS1M0 | 9.4 TS1M0 |
OpenVMS Alpha | 9.1 TS1M0 | 9.4 TS1M0 |
Tru64 UNIX | 9.1 TS1M0 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Issuing a long invalid macro variable name to the function %SYMEXIST causes the error message to be truncated.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2012-04-24 09:42:19 |
Date Created: | 2012-04-16 09:57:38 |